﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Foothill.Service.Session
{
    public interface ISessionService
    {
        void AddSessionValue(string sessionName, object value);

        void SaveSessionValue(string sessionName, object value);

        void ClearSessionVariable(string sessionName);

        // get session value, return null if key is not found 
        object GetSessionValue(string key);

        UserContext GetUserContext();

        void SaveUserContext(UserContext userContext);
    }
}
